/********************************************************/
/*	Author:		gong_libin			*/
/*	Date:		2017_11_01			*/
/*	File:		CmSspEng.h			*/
/********************************************************/

#ifndef	_CMSSPENG_H
#define	_CMSSPENG_H

#include "CmTcp.h"
#include "CmTime.h"

#define	CM_SSP_HEAD		const_cast<char*>("POST /adx/ HTTP/1.1\r\nUser-Agent: Mozilla/5.0 (compatible; Tanx/1.0; Linux)\r\nHost: adx.charmgroup.cn\r\nAccept: */*\r\nContent-Type: application/json;charset=utf-8\r\nConnection: Keep-Alive\r\nContent-Length: %ld\r\n\r\n%s")
#define	CM_SSP_BODY		const_cast<char*>("{\"scaling\":\"1.6\",\"ip\":\"192.168.0.7\",\"contextId\":\"aldjfaodsifoj\",\"gps\":\"36.00929,108.2394823\",\"exhibitId\":\"exhibitId\",\"type\":\"1\",\"creativeView\":1,\"mac\":\"08:00:27:9a:2d:82\",\"uId\":\"uidifo\",\"categoryIds\":\"1,2,3,4\",\"developerId\":1,\"maxHeight\":\"300\",\"appId\":\"appId\",\"imei\":\"imei\",\"channelId\":\"channelId\",\"uagent\":\"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36\",\"maxWidth\":\"1280\",\"minPrice\":800}")

#endif /* _CMSSPENG_H */
